package org.seedltd.upms.mapper.detection;

import org.apache.ibatis.annotations.Select;
import org.seedltd.core.base.IBaseMapper;
import org.seedltd.upms.model.detection.entity.DetectionTerminal;

/**
*  终端管理数据库访问接口
*/
public interface DetectionTerminalMapper extends IBaseMapper<DetectionTerminal> {

    @Select("select 1 from detection_terminal where serial_number=#{serialNumber}")
    Integer checkSerialNumberExists(String serialNumber);
}
